<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>View PetInfo</title>
	</head>
	<body>
			<table border="1" width="80%" align="center">
				<tr>
					<td>日记编号</td>
  					<td>日记日期</td>
  					<td>日记题目</td>
 					<td>天气</td>
  					<td>内容</td>
  					<td>是否公开</td>
  					<td>最后日期</td>
  					<td>作者</td>
  					<td>电子邮件</td>
  					<td>操作</td>
				</tr>
				
	 <s:iterator id="petdairy" value="petinfo.petdiaries">
    	<tr>
    		<td><s:property value="#petdairy.diaryId"/> </td>
    		<td><s:property value="#petdairy.diaryDate"/></td>
    		<td><s:property value="#petdairy.diaryTitle"/></td>
    		<td><s:property value="#petdairy.diaryWeather"/></td>
    		<td><s:property value="#petdairy.diaryContext"/></td>
    		<td><s:property value="#petdairy.diaryIsPublic"/></td>
    		<td><s:property value="#petdairy.diaryLastModify"/></td>
    		<td><s:property value="#petdairy.diaryAuthor"/></td>
    		<td><s:property value="#petdairy.diaryAuthorEmail"/></td>
    		<td><s:a href="delPetdairy.action?diaryId=%{#petdairy.diaryId}">删除</s:a></td>
    	</tr>
    	</s:iterator>
    	
			</table>
		

	</body>
</html>
